using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    class MRPUsers 
    {
        string usercode;
        string userfullname;
        string password;
        string mobile;
        string email;
        ISet mrpdetailsordersList;
        ISet mrpmasterexportList;
        ISet mrpmasterimportList;
        ISet mrpmasterrequirementList;
        ISet mrpusermenuList;

        public MRPUsers()
        {

        }

        public virtual string Usercode
        {
            get { return usercode; }
            set { usercode= value; }
        }

        public virtual string Userfullname
        {
            get { return userfullname; }
            set { userfullname= value; }
        }

        public virtual string Password
        {
            get { return password; }
            set { password= value; }
        }

        public virtual string Mobile
        {
            get { return mobile; }
            set { mobile= value; }
        }

        public virtual string Email
        {
            get { return email; }
            set { email= value; }
        }

        public virtual ISet MrpdetailsordersList
        {
            get { return mrpdetailsordersList; }
            set { mrpdetailsordersList= value; }
        }

        public virtual ISet MrpmasterexportList
        {
            get { return mrpmasterexportList; }
            set { mrpmasterexportList= value; }
        }

        public virtual ISet MrpmasterimportList
        {
            get { return mrpmasterimportList; }
            set { mrpmasterimportList= value; }
        }

        public virtual ISet MrpmasterrequirementList
        {
            get { return mrpmasterrequirementList; }
            set { mrpmasterrequirementList= value; }
        }

        public virtual ISet MrpusermenuList
        {
            get { return mrpusermenuList; }
            set { mrpusermenuList= value; }
        }

        public override string ToString()
        {
            String s = "";
            if(usercode!=null)
	            s+= "usercode : "+ usercode.ToString()+"\n";
            else
	            s+= "usercode : null\n";
            if(userfullname!=null)
	            s+= "userfullname : "+ userfullname.ToString()+"\n";
            else
	            s+= "userfullname : null\n";
            if(password!=null)
	            s+= "password : "+ password.ToString()+"\n";
            else
	            s+= "password : null\n";
            if(mobile!=null)
	            s+= "mobile : "+ mobile.ToString()+"\n";
            else
	            s+= "mobile : null\n";
            if(email!=null)
	            s+= "email : "+ email.ToString()+"\n";
            else
	            s+= "email : null\n";
            return s;
        }
    }
}
